package org.springframework.core.logger;

/**
 * @author:刘仁有
 * @desc:
 * @email:953506233@qq.com
 * @data:2019/11/11
 */
public class ErrorLogger extends AbstractLogger {
    public ErrorLogger(int level, Class<?> clazz){
        this.level = level;
        this.clazz = clazz;
    }
    @Override
    protected void write(String msg,Class<?> clazz) {
        System.err.println(clazz.getSimpleName()+"  error: " + msg);
    }
}
